package com.dy.domain;

public class Shangpin {

    private Integer sid;
    private String sname;
    private String price;
    private String lei;

    @Override
    public String toString() {
        return "Shangpin{" +
                "sid=" + sid +
                ", sname='" + sname + '\'' +
                ", price='" + price + '\'' +
                ", lei='" + lei + '\'' +
                '}';
    }

    public Integer getSid() {
        return sid;
    }

    public void setSid(Integer sid) {
        this.sid = sid;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getLei() {
        return lei;
    }

    public void setLei(String lei) {
        this.lei = lei;
    }

    public Shangpin() {
    }

    public Shangpin(Integer sid, String sname, String price, String lei) {
        this.sid = sid;
        this.sname = sname;
        this.price = price;
        this.lei = lei;
    }
}
